import {ServerResponse} from "http";
import {parsedRequest} from "./parsedRequest";
import {nextFunction} from "./nextFunction";

/**
 * 中间件：符合此规则的函数
 */
interface middleWareFunction
{
    (req: parsedRequest, res: ServerResponse, next?: nextFunction): void;
}
export {middleWareFunction}